Add Markdown documentation linting#2446
Conversation
26adcca to
ecf42c5
Compare
xuganyu96
left a comment
There was a problem hiding this comment.
LGTM. Thank you for the contribution.
There was a problem hiding this comment.
I am sorry to have to walk back on my previous approval. The code change makes sense to me, but the choice of tool could use some justification. I did a quick search and found other markdown linters written in Ruby (markdownlint), Python (pymarkdown), and Rust (rumdl), and many others. It feels a tiny bit uncomfortable to introduce NPM into dev dependencies. I intuitively prefer keeping dev dependencies either in the Python ecosystem or as small binaries. Of course if markdownlint-cli is indeed a much more mature project than the other choices, then I am okay with introducing it into liboqs.
Signed-off-by: msteslov <msteslov@edu.hse.ru>
e7198e3 to
4d191da
Compare
|
Updated the PR to avoid the NPM dependency: it now uses |
Fixes #1785.
Adds a Markdown linting job to the basic CI workflow using
rumdl.Testing:
rumdl check --config .rumdl.toml --respect-gitignore --exclude 'build,**/build' .actionlint -shellcheck "" .github/workflows/basic.ymlAI assistance was used for repository inspection and drafting; I reviewed and verified the final changes.